package cn.justforchris.system.service;

import cn.justforchris.blog.query.QueryPage;
import cn.justforchris.system.domain.Menu;
import cn.justforchris.system.query.MenuQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IMenuService {
    void insertMenu(Menu menu);

    void updateMenu(Menu menu);

    void deleteMenu(Long id);

    void patchDelete(Long[] ids);

    Menu getMenuById(Long id);

    List<Menu> getAll();

    PageInfo<Menu> queryPage(MenuQuery queryPage);

    List<Menu> getTypeTree();

}
